/**
 * Created by lg on 17-7-28.
 */
define(function(require, exports, module) {
    // 别名配置，配置之后可在模块中使用require调用 require('jquery');
    // alias
    var $ = require('../../sea-modules/jquery/jquery/1.10.1/jquery')
    function header(){
        this.render()
    }
    header.prototype.render = function(){
        $('<div id="header-cont">\n' +
            '        <div class="header-logo">\n' +
            '        </div>\n' +
            '        <div class="header-cont">\n' +
            '            <div class="cont-box">\n' +
            '                <a class="company" href="../../../company/view/home.html" ">学校主页</a>\n' +
            '            </div>\n' +
            '\n' +
            '        </div>\n' +
            '        <div class="company-box">\n' +
            '            <img class="company-logo" src="../../img/user.png">\n' +
            '            <div class="Username-area" id="showChange" onmouseover="show()">\n' +
            '               <h3 class="header-title">工院主管</h3>\n' +
            '               <h4 id="bottomId" class="arrow-bottom">∨</h4>' +
            '               <h4 id="topId" class="arrow-top">∧</h4>' +
            '            </div>' +
            // '            <a class="fa-angle-down" id="show" onmouseover="show()"></a>\n' +
            '            <div id="logout">\n'+
            '                <div class="logout1">\n' +
            '                    <a class="logout1-cont" href="../../../company/view/manage.html"><img class="control-img" src="../../../company/img/password/53.png">管理系统</a>\n' +
            '                </div>\n' +
            '                <div class="logout2">\n' +
            '                    <a class="logout2-cont" href="../../../company/login.html"><img class="logout-img" src="../../../company/img/password/52.png">退出</a>\n' +
            '                </div>\n' +
            '            </div>\n' +
            '            <div id="logout-area">'+
            '            </div>'+
            '        </div>\n' +
            '    </div>' +
            '<div class="main-cont1">\n' +
            '        <div class="main-cont-header">\n' +
            '\n' +
            '            <div class="tool">\n' +
            '                <div class="back-area">\n' +
            '\n' +
            '                </div>\n' +
            '                <h3 class="header-title-font">工院主管</h3>\n' +
            '            </div>\n' +
            '        </div>\n' +
            '    </div>')
            .appendTo('body')
    }

    return header

});
